@(message: String, list: List[SqlRow], today_date: String, yesterday_date: String, tomorrow_date: String, real_date: String)
@import org.tapaha.util.CharEncoding;

<!DOCTYPE html>
<html>
	<head>
		<title>데헷</title>
		<meta name="viewport" content="user-scalable=yes, initial-scale=1.0, maximum-scale=5.0, minimum-scale=1.0, width=device-width, height=device-height" />
		
		<link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/bootstrap.min.css")">
		<link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/bootstrap-responsive.min.css")">
		<link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/docs.css")">

        <script src="@routes.Assets.at("javascripts/jquery-1.8.3.min.js")" type="text/javascript"></script>
		<script src="@routes.Assets.at("javascripts/bootstrap.min.js")" type="text/javascript"></script>

		<script type="text/javascript">
		  var _gaq = _gaq || [];
		  _gaq.push(['_setAccount', 'UA-36573141-1']);
		  _gaq.push(['_trackPageview']);
		
		  (function() {
		    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
		  })();
		</script>
	</head>
	<body data-spy="scroll" data-target=".bs-docs-sidebar">
		<div class="navbar navbar-inverse navbar-fixed-top">
		  <div class="navbar-inner">
		  	<div class="container">
          		<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            		<span class="icon-bar"></span>
            		<span class="icon-bar"></span>
            		<span class="icon-bar"></span>
          		</button>
             <a class="brand" href="http://dehet.net">데헷</a>
          		<div class="nav-collapse collapse">
            		<ul class="nav">
                    <li class="" style="float:left;"> <a href="http://dehet.net/past/@yesterday_date" style="color:#dfdfdf"><i class="icon-white icon-circle-arrow-left"></i>&nbsp;&nbsp;@yesterday_date.substring(5)</a> </li>
                    <li class="" style="float:right;">
                      @if(today_date < real_date && today_date != "null") {
                        <a href="http://dehet.net/past/@tomorrow_date" style="color:#dfdfdf">@tomorrow_date.substring(5)&nbsp;&nbsp;<i class="icon-white icon-circle-arrow-right"></i></a>
                      }
                    </li>
                      <li class="" style="clear:both;"><hr class="soften" style="margin:2px 0;"></li>
                    <li class=""> <a href="#" style="color:#dfdfdf"><i class="icon-white icon-th-large"></i>&nbsp;&nbsp;썸네일 보기</a> </li>
                    <li class=""> <a href="#" style="color:#dfdfdf"><i class="icon-white icon-list"></i>&nbsp;&nbsp;리스트 보기</a> </li>
                    <!--
              			<li class=""> <a href="#" style="color:#dfdfdf"><i class="icon-white icon-chevron-right"></i>&nbsp;&nbsp;Daily</a> </li>
              			<li class=""> <a href="#" style="color:#dfdfdf"><i class="icon-white icon-chevron-right"></i>&nbsp;&nbsp;Weekly</a> </li>
              			<li class=""> <a href="#" style="color:#dfdfdf"><i class="icon-white icon-chevron-right"></i>&nbsp;&nbsp;Monthly</a> </li>
                    -->
            		</ul>
          		</div>
		  	</div>
		  </div>
		</div>
		
		<div class="container">
		  <div class="">
		    	<table class="table table-striped">
		  			<thead>
		  				<tr>
                 <th><h5 class ="text-error text-right"><i class="icon-calendar"></i>&nbsp;&nbsp;@today_date.substring(5) (@list.size())</h5></th>
		  				</tr>
		  			</thead>
		  			<tbody>
		  				@for(article <- list) {
		  					<tr><td><a target="_top" href="../view/@article.getInteger("issue_id")"><p style="margin-bottom:0px;">@(CharEncoding.decode(article.getString("title"), "UTF-8"))</p></a></td></tr>	
		  				}
		  			</tbody>
		  		</table>
		  </div>
      <!--
		  <form class="form-search">
		  	<div class="input-append">
		  		<input type="text" class="span10 search-query">
		  		<button type="submit" class="btn">Search</button>
		  	</div>
		  </form>
      -->
		</div>
		 <footer class="footer">
		   <div class="container">
		  	<p>SCrawle : </p>
            <ul class="footer-links">
              <li><a href="mailto:scrawle7 at gmail.com">Contacts</a></li>
              <li class="muted">&middot;</li>
              <li><a href="./changelog">Changelog</a></li>
            </ul>
           </div>
		 </footer>
	</body>
</html>
